package com.user;

import com.rpcfx.api.RegistryService;
import com.test.api.User;
import com.test.api.UserService;

import java.util.UUID;


@RegistryService(name = "com.test.api.UserService")
public class UserServiceImpl implements UserService {
    @Override
    public User findById(Integer id) {
        return new User(id, UUID.randomUUID().toString());
    }
}
